import { createSSRApp } from "vue"
import store from '@/store'
import App from "./App.vue"
import uView from '@/uni_modules/vk-uview-ui'
import UniRouteGuards from 'uniapp-route-guards'
import '@/common/router/index'
import * as Pinia from 'pinia';
import 'uno.css'

export function createApp() {
  const app = createSSRApp(App)
  app.use(store)
  app.use(uView)
  app.use(UniRouteGuards)
  return { app, Pinia }
}
